<?php if(!empty($this->adSlide)) { ?>
<div class="flexslider">
    <ul class="slides">
    <?php foreach ($this->adSlide as $adValue) { if(!empty($adValue['ad_image'])) { ?>
            <li>
                <a target="_blank" href="<?php echo $adValue['ad_url']; ?>"><img src="<?php echo $this->shopHelper()->baseAdImagePath($adValue['ad_image']); ?>"></a>
            </li>
    <?php } } ?>
    </ul>
</div>
<?php } ?>